<!--内容设置-->
<!--活动页基本信息设置-->
<div class="input-group">
    <label>活动名称</label>
    <input ng-model="postData.name" type="text" placeholder="请输入活动名称"/>
</div>
<div class="date-group">
    <label>活动时间</label>
    <input type="text" style="font-size:14px" class="ngDatetimepicker" placeholder="开始时间"
           ng-model="postData.start_time"/>
    <input type="text" class="ngDatetimepicker" placeholder="结束时间" ng-model="postData.end_time"/>
</div>
<div class="input-group">
    <label>活动次数</label>
    <div class="type-group">
        <input type="number" class="number" value="0" ng-model="postData.limits.num"/>
        <div class="ngDropdown" ng-cloak="" n="2" options="ruleTypes" label="text" value="value"
             ng-model="postData.limits.type"></div>
    </div>
</div>
<div class="file-group" ng-if="model_rule!='shaking'">
    <label>更换背景</label>
    <div class="file-wrap">
        <input ng-model="postData.background_img" class="fileInput ngFileInput" refresh="refresh"
               file-config="fileConfig" type="file" multiple="multiple" name="upfile"
               accept="image/gif,image/jpeg,image/png"
               data-target="uploadImageFile" data-preview-file-type="text" value="" title="">
        <span class="help-block mb0">支持PNG、JPG格式，小于200KB</span>
    </div>
</div>
<div class="textarea-group">
    <label class="col-md-2 control-label">活动备注</label>
    <div class="col-md-7">
						<textarea class="form-control" name="remark" placeholder="请输入备注信息" ng-model="postData.remark"></textarea>
    </div>
</div>
<div class="textarea-group">
    <label>活动简介</label>
    <div class="textarea">
        <textarea type="text" ui-tinymce="tinymceOptions" ng-cloak="" ng-model="postData.description"
                  placeholder="请输入活动名称"></textarea>
    </div>
</div>
<div class="footer-btns">
    <button class="blue-button" ng-click="submit($event,default)">保存</button>
</div>